package com.ruoyi.business.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 预警历史记录对象 warning_history
 *
 * @author ruoyi
 * @date 2024-05-03
 */
@Data
@TableName("warning_history")
public class WarningHistory {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 预警id
     */
    private Long warningId;
    /**
     * 预警去往id
     */
    private Long warningToId;
    /**
     * 业务id
     */
    private Long ownerId;
    /**
     * 业务类型
     */
    private String ownerType;
    /**
     * 通知类型
     */
    private String type;
    /**
     * 预警时间
     */
    private Date warningTime;

}
